// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SYS_ATTACHMENT
// * CreateDate    : 2014-06-05 18:30:42
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:42
// * LastChanger   : 2014-06-05 18:30:42
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SysAttachmentTable : TableInfo
    {
		public const string C_TableName = "SYS_ATTACHMENT";
		
		public const string C_ID = "ID";
		public const string C_FORM_NAME = "FORM_NAME";
		public const string C_ROW_ID = "ROW_ID";
		public const string C_FILE_NAME = "FILE_NAME";
		public const string C_FILE_PATH = "FILE_PATH";
		public const string C_REMARK = "REMARK";
		public const string C_UPLOAD_BY = "UPLOAD_BY";
		public const string C_UPLOAD_TIME = "UPLOAD_TIME";
		
		public SysAttachmentTable()
        {
            _tableName = "SYS_ATTACHMENT";
        }
		
		protected static SysAttachmentTable _current;
        public static SysAttachmentTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SysAttachmentTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_FORM_NAME, new ColumnInfo(C_FORM_NAME,"FormName", false, typeof(string)));
            _current.Add(C_ROW_ID, new ColumnInfo(C_ROW_ID,"RowId", false, typeof(string)));
            _current.Add(C_FILE_NAME, new ColumnInfo(C_FILE_NAME,"FileName", false, typeof(string)));
            _current.Add(C_FILE_PATH, new ColumnInfo(C_FILE_PATH,"FilePath", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
            _current.Add(C_UPLOAD_BY, new ColumnInfo(C_UPLOAD_BY,"UploadBy", false, typeof(string)));
            _current.Add(C_UPLOAD_TIME, new ColumnInfo(C_UPLOAD_TIME,"UploadTime", false, typeof(DateTime)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo FORM_NAME
        {
            get { return this[C_FORM_NAME]; }
        }
		
		public ColumnInfo ROW_ID
        {
            get { return this[C_ROW_ID]; }
        }
		
		public ColumnInfo FILE_NAME
        {
            get { return this[C_FILE_NAME]; }
        }
		
		public ColumnInfo FILE_PATH
        {
            get { return this[C_FILE_PATH]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		public ColumnInfo UPLOAD_BY
        {
            get { return this[C_UPLOAD_BY]; }
        }
		
		public ColumnInfo UPLOAD_TIME
        {
            get { return this[C_UPLOAD_TIME]; }
        }
		
		
		
	}
}

